package com.chunxiadong.mapper;

import com.chunxiadong.entity.LoginAdmin;
import com.chunxiadong.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @auther QiuShangcheng
 * @create 2021/6/6
 */
@Mapper
@Repository
public interface AdminMapper {
    LoginAdmin queryAdminByName(String name);

    User getAdminById(Integer id);

    User getAdmin(String nickname);
}
